package com.js.core.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 收藏夹表(SCollection)实体类
 *
 * @author mazp
 * @since 2024-09-27 16:52:30
 */
@Data
@TableName("j_collection")
public class Collection implements Serializable {
    private static final long serialVersionUID = -93547259052006612L;
    /**
     * 主键id
     */
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;
    /**
     * 文章id
     */
    private String articleId;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 收藏时间
     */
    private Date createTime;

}

